const { merge } = require('webpack-merge');
const config = require('./webpack.common');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');

/**
 * @type {import('webapck').Configuration}
 */
module.exports = merge(config, {
  mode: 'production', // 'none',
  devtool: 'hidden-source-map',
  plugins: [new CleanWebpackPlugin()],
});
